package iSOCK::Controller::Specification::Datasheets;

use Try::Tiny;

use Moose;
use namespace::autoclean;

BEGIN { extends 'iSOCK::Controller::Root' }

=head1 NAME

iSOCK::Controller::Specification::Datasheets - Specification Datasheets Controller for iSOCK

=head1 DESCRIPTION

[enter your description here]

=head1 METHODS

=cut

sub index :Path :Args(0) {
  my ( $self, $c ) = @_;
  
  $c->stash ( products => [ $c->model ( 'App' )->datasheeted_products ], product_id => $c->request->parameters->{product_id} );
  
  $c->forward ( qw( iSOCK::Controller::Root render_view ) );
}

sub end : ActionClass('RenderView') {}

=head1 AUTHOR

Xavier Caron

=head1 LICENSE

This library is free software, you can redistribute it and/or modify
it under the same terms as Perl itself.

=cut

1;
